Delivery system, delivery method, and delivery program

ABSTRACT

A delivery system includes a first terminal device and a delivery device, wherein the delivery device includes a division unit configured to divide delivery information by delivery size to generate a plurality of pieces of divided information and a delivery unit configured to sequentially deliver the plurality of pieces of divided information, and the first terminal device includes a reception unit configured to receive the plurality of pieces of divided information and a coupling unit configured to couple the plurality of pieces of divided information to generate the delivery information.

CROSS-REFERENCE TO RELATED APPLICATION

This application is based upon and claims the benefit of priority of theprior Japanese Patent Application No. 2015-046483, filed on Mar. 9,2015, the entire contents of which are incorporated herein by reference.

FIELD

The embodiments discussed herein are related to a delivery system, adelivery method, and a delivery program.

BACKGROUND

In recent years, Bluetooth (registered trademark) Low Energy(hereinafter also referred to as “BLE”) advertising has been known as atechnique to deliver information to a terminal device such as a smartphone, or the like. The packet size for a communication method of theBLE advertising is as small as approximately 30 bytes. For this reason,the communication method of the BLE advertising is mainly used fordelivery of code information such as an ID (identification).International Publication Pamphlet No. WO2014/097968 discloses amechanism by which a transmitter delivers an ID, and a terminal thatreceives the ID makes an inquiry to a management device configured tomanage IDs.

If a management device is prepared as disclosed in InternationalPublication Pamphlet No. WO2014/097968, the management device may manageinformation tied to each ID, which thus makes it possible to easilyincrease information to be delivered to a terminal. However, if theterminal makes an inquiry about an application tied to an ID asdisclosed in International Patent Publication No. WO 2014/097968,useless communications to the management device occur every time theterminal receives an ID tied to an application that is not installed inthe terminal. Thus, whenever a terminal held by an end user approachesto the foregoing transmitter that transmits the ID, uselesscommunications occur, and the frequent occurrence of communications withnon-executable applications causes a problem that communication trafficand terminal batteries are uselessly consumed. In addition, in the caseof building a small-scale delivery system, preparation of a managementdevice makes costs for facility and operation largely allocated to themanagement device, and limits a range of businesses that may beintroduced.

In one aspect, an objective is to provide a delivery system, a deliverymethod, and a delivery program that are enabled to directly provideusable information without being provided with a management system.

SUMMARY

According to an aspect of the invention, a delivery system includes afirst terminal device and a delivery device, wherein the delivery deviceincludes a division unit configured to divide delivery information bydelivery size to generate a plurality of pieces of divided informationand a delivery unit configured to sequentially deliver the plurality ofpieces of divided information, and the first terminal device includes areception unit configured to receive the plurality of pieces of dividedinformation and a coupling unit configured to couple the plurality ofpieces of divided information to generate the delivery information.

The object and advantages of the invention will be realized and attainedby means of the elements and combinations particularly pointed out inthe claims.

It is to be understood that both the foregoing general description andthe following detailed description are exemplary and explanatory and arenot restrictive of the invention, as claimed.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is a diagram illustrating an example of a delivery systemconfiguration;

FIG. 2 is a diagram illustrating an example of a functionalconfiguration of an information setting terminal, a delivery device, anda reception terminal;

FIG. 3 is a diagram illustrating an example of a format of a packet;

FIG. 4A is a diagram illustrating an example of a data format of ProfileNo: 01;

FIG. 4B is a diagram illustrating an example of a data format of ProfileNo: 02;

FIG. 4C is a diagram illustrating an example of a data format of ProfileNo: 03;

FIG. 4D is a diagram illustrating an example of a data format of ProfileNo: 04;

FIG. 4E is a diagram illustrating an example of a data format of ProfileNo: 15;

FIG. 5 is a diagram illustrating an example of a packet format;

FIG. 6A is a diagram illustrating an example of a packet format;

FIG. 6B is a diagram illustrating an example of a packet format;

FIG. 6C is a diagram illustrating an example of a packet format;

FIG. 7 is a diagram illustrating an example of a screen for inputting acompany code and a management code;

FIG. 8A is a diagram illustrating an example of a menu screen of settingchange;

FIG. 8B is a diagram illustrating an example of a setting change screenrelated to a wireless LAN;

FIG. 8C is a diagram illustrating an example of a setting change screenrelated to URL;

FIG. 8D is a diagram illustrating an example of a setting change screenrelated to a message;

FIG. 8E is a diagram illustrating an example of a setting change screenrelated to an ID;

FIG. 8F is a diagram illustrating an example of setting change screen ofdata in a free format;

FIG. 8G is a diagram illustrating an example of a setting change screenfor performing management setting;

FIG. 9A is a diagram illustrating flow of encryption;

FIG. 9B is a diagram illustrating division of delivery information andflow of delivery;

FIG. 9C is a diagram illustrating flow of coupling and decryption ofreceived data;

FIGS. 10A and 10B are sequence diagrams illustrating a flow of a settingprocess that sets delivery information;

FIG. 11 is a sequence diagram illustrating flow of a delivery processthat delivers information and of a decryption process that decryptsdelivered information;

FIG. 12A is a diagram illustrating an example in which a delivery systemis applied;

FIG. 12B is a diagram illustrating another example in which the deliverysystem is applied;

FIG. 12C is a diagram illustrating another example in which the deliverysystem is applied;

FIG. 12D is a diagram illustrating another example in which the deliverysystem is applied;

FIG. 12E is a diagram illustrating another example in which the deliverysystem is applied;

FIG. 12F is a diagram illustrating another example in which the deliverysystem is applied;

FIG. 12G is a diagram illustrating another example in which the deliverysystem is applied;

FIG. 13A is a diagram illustrating an example of a computer configuredto execute a setting program;

FIG. 13B is a diagram illustrating an example of a computer configuredto execute a delivery program; and

FIG. 13C is a diagram illustrating an example of a computer configuredto execute an encoding program.

DESCRIPTION OF EMBODIMENTS

Embodiments of a delivery system, a delivery method, a setting program,a delivery program, and a decryption program according to the disclosureare hereinafter described in detail with reference to the drawings. Notethat the disclosure shall not be limited to these embodiments. Then, theembodiments may be combined appropriately without causing contradictionin the processing contents. In the embodiments, Bluetooth (registeredtrademark) in earlier standard not yet supporting BLE is referred to as“Bluetooth (registered trademark) Classic”.

Embodiment 1 System Configuration

First, an example of a delivery system configured to deliver informationis described. FIG. 1 is a diagram illustrating an example of a deliverysystem configuration. As illustrated in FIG. 1, a delivery system 10 hasan information setting terminal 11, multiple delivery devices 12, andmultiple reception terminals 13. Note that while two each of deliverydevices 12 and multiple reception terminals 13 are illustrated in theexample of FIG. 1, there may be any number of the delivery devices 12and the reception terminals 13, respectively. In addition, in theexample of FIG. 1, while a case where there is one information settingterminal is illustrated, the configuration is not limited to this and aninformation setting terminal 11 may be in any number.

The delivery system 10 is a system configured to deliver various typesof information through wireless communications. For example, thedelivery system 10 delivers various types of information from thedelivery device 12 via BLE. Various types of portable devices such as asmart phone and a tablet terminal support BLE. For example, iOS inversions 7 and later of Apple (registered trademark) supports iBeacon(registered trademark) that utilizes BLE. In addition, Android(registered trademark) in versions 4.3 and later supports BLE.

The information setting terminal 11 is a terminal device configured toset delivery information to be delivered by the delivery device 12. Forexample, the information setting terminal 11 is an informationprocessing device such as a smart phone, a tablet terminal, or apersonal computer owned by a manager who manages delivery of data. Theinformation setting terminal 11 accepts input of target deliveryinformation from the manager and sets the accepted information to thedelivery device 12. In the embodiment, the information setting terminal11 corresponds to a first terminal device.

The delivery device 12 is a device configured to wirelessly deliverinformation. For example, the delivery device 12 is a wireless devicesuch as a beacon device supporting BLE, which cyclically deliversinformation to a predetermined range through near field communication.BLE is considered capable of delivery of information to a range from afew meters to approximately 50 meters, for example. BLE consumes smallercurrents while transmitting. Thus, it is considered possible that thedelivery device 12 may be driven for a long period of time with a smallbattery. The delivery device 12 delivers information set in theinformation setting terminal 11. Now, the amount of information that maybe delivered by BLE is as small as approximately 30 bytes, for example.Thus, the delivery device 12 divides delivery information by sizetransmittable per BLE packet. Then, the delivery device 12 assigns eachdivided data with a sequence number to identify the divided data and thenumber of divisions and sequentially delivers the data.

The reception terminal 13 is a terminal device configured to receivedelivered information. For example, the reception terminal 13 may be aninformation processing device or the like such as a smart phone, atablet terminal, a personal computer or the like held by a user. Thereception terminal 13 receives information delivered from the deliverydevice 12. The reception terminal 13 couples received information torestore information prior to division. This allows the delivery system10 to directly provide usable information without being provided with amanagement server additionally. In the embodiment, the receptionterminal corresponds to a second terminal device.

Configuration of the Information Setting Terminal, the Delivery Device,and the Reception Terminal

Next, a configuration of the information setting terminal 11, thedelivery device 12, and the reception terminal 13 is describedhereinafter. FIG. 2 is a diagram illustrating an example of a functionalconfiguration of an information setting terminal, a delivery device, anda reception terminal. As illustrated in FIG. 2, the information settingterminal 11 has a wireless interface (I/F) unit 20, a display unit 21,an input unit 22, a storage unit 23, and a control unit 24. Note thatthe information setting terminal 11 may have any other device other thanthe devices mentioned above. For example, the information settingterminal 11 may have other communication unit that performscommunications by using a mobile communication network or wireless localarea network (LAN) and that differs from the wireless communication I/Funit 20.

The wireless communication I/F unit 20 is an interface configured tocontrol communications with other devices. The wireless communicationI/F unit 20 may further correspond to Bluetooth (registered trademark)Classic.

The wireless communication I/F unit 20 transmits or receives varioustypes of information to or from other device through near fieldcommunications. For example, the wireless communication I/F unit 20receives information delivered by the delivery device 12 via BLE. Thewireless communication I/F unit 20 also transmits various types ofinformation to the delivery device 12 through wireless communications ofBLE.

Now, wireless communication to be used in the delivery system 10according to the embodiment is described. The communication scheme ofBLE has a connection mode in which one-to-one communication is possible,and an advertise mode in which one-way communication between one and nis possible. The advertise mode broadcasts a packet without establishinga connection and transmits a packet in a predetermined cycle. Theconnection mode is a communication scheme of the paring scheme thatenables continuous transmission and reception of packets when connectionis established, and thus has a faster communication speed than theadvertise mode. Then, the delivery system 10 according to the embodimenttransmits various types of information to the delivery device 12 throughcommunications in the connection mode of BLE. For example, theinformation setting terminal 11 transmits delivery information to thedelivery device 12 through communications in the communication mode ofBLE. The delivery device 12 divides the delivery information bypredetermined size transmittable per BLE packet and sequentiallydelivers the information.

Now, a format of a packet when various types of information aretransmitted in the advertise mode is described. FIG. 3 is a diagramillustrating an example of a format of a packet. FIG. 3 illustrates anexample of a format of a packet of wireless communications to be used inthe communications of BLE. As illustrated in FIG. 3, a packet hasrespective areas of “Preamble”, “Access Address”, “PDU Header”, “AdvAddress”, “AD Flags”, “Advertisement Data”, and “CRC”. “Preamble”,“Access Address”, “PDU Header”, “Adv Address”, and “CRC” are areas wheredata in compliance with BLE is stored. In the embodiment, various typesof information are transmitted by using 31 bytes of “AD Flags” and“Advertisement Data” areas.

For example, in the embodiment of FIG. 3, the 31 bytes of “AD Flags” and“Advertisement Data” areas are divided to “BT/iOS Hdr”, “AdditionalHeader”, and “Data”, respectively.

The area of “BT/iOS Hdr” has data size of 11 bytes and data complyingwith iBeacon (registered trademark) is stored therein.

The area of “Additional Header” is divided to areas of “SUN+0x46”,“Serial Number”, and “SEQ”. The “SUN+0x46” area has data size of 1 byteand a control code to control communications is stored therein. The“Serial Number” area has data size of 2 bytes and a serial number toidentify the delivery device 12 is stored therein. Each delivery device12 is assigned with a unique serial number. In the “Serial Number” areais stored a serial number of the delivery device 12 of a delivery sourceof a packet. The “SEQ” area has data size of 1 byte, and when data isdivided and delivered, a sequence number to identify the delivered dataand the number of divisions are respectively divided to 4 bits andstored. For example, in the case of the 8th division number of 15division numbers, bits “10001111” resulting from [8/15] are storedtherein.

The “Data” area is divided to areas of “Company Code”, “ManagementCode”, “Profile No.”, “Profile Data”, and “Encryption Confirmation”. Theareas of “Company Code”, “Management Code”, and “Profile No.” have datasize of 3 bytes in total. In the embodiment, since 16 types of formatsmay be defined, 4 bits are reserved for data size of the Profile Data”area. Data size of “Company Code” and “Management Code” may bearbitrarily defined as far as the size fits within 3 bytes. For example,data size of the “Company Code” area may be 12 bits and data size of the“Management Code” area may be 8 bits. The “Company Code” area is an areawhere identification information to identify a data delivery source isstored. Unique identification information is assigned to the deliverysource. For example, a unique Company Code is assigned as companyidentification information to a delivery source company that uses thedelivery system 10 according to the embodiment. In the “Company Code”area is stored the company code of the delivery source. The “ManagementCode” area is an area to store identification information to managedelivery at a delivery source. For example, if different information isdelivered from different delivery devices 12 and it is desirable todivide reception terminals 13 capable of receiving, the delivery sourceassigns different management codes. The “Profile No.” area is an area tostore profile information that indicates a type of delivery information.Now, in the delivery system 10 according to the embodiment, multipletypes of data are delivered through wireless communications. In theembodiment, it is possible to define 16 types of formats of Profile No:00 to 15 as a type of delivery information, and a format is defined forProfile No: 00, 01, 02, 03, 04, and 15. In the “Profile No.” area isstored Profile No corresponding to a type of data. The “Profile No.”area is an area to store data corresponding to Profile No. Details ofdata to be stored in the “Profile Data” area are described below. The“Encryption Confirmation” area has data size of 3 bytes, and is an areato store confirmation data that is to confirm whether data in the“Profile Data” area may be correctly decrypted, if the data in the“Profile Data” area is decrypted.

In the delivery system 10 according to the embodiment, the informationsetting terminal 11 transmits delivery information of Profile No: 01,02, 03, 04, 15 to the delivery device 12 through wireless communicationsin the connection mode of BLE. The delivery device 12 divides thereceived delivery information by size transmittable per packet in theadvertise mode of BLE. Then, delivery device 12 assigns to each piece ofdivided data thus divided a sequence number to identify the piece ofdivided data and the number of divisions, and sequentially delivers thedata.

A format of delivery information is described hereinafter. FIG. 4A is adiagram illustrating an example of a data format of Profile No: 01.

Profile No: 01 is data that stores settings related to a wireless LAN.As illustrated in FIG. 4A, Profile No: 01 has areas of “ControlAddress”, “Distance Condition”, and “Signal Intensity”. Profile No: 01also has areas of “SIZE (1)”, “Wireless LAN Connection (SSID)”, “SIZE(2)”, “Wireless LAN Connection (Security Key)”, “SIZE (3)”, and “STRING(URL)”. Data of Profile No: 01 is up to 234 bytes in total.

The “Control Address” area has data size of 1 byte and is an area tostore control information on what control is performed under distanceconditions. A coding system of the control address may be designed by adeveloper who develops an application using the delivery system 10. The“Distance Condition” area has data size of 1 byte and is an area tostore range information that indicates a target range depending on adistance from the delivery device 12. In the embodiment, four patternsof unlimited, equal or longer, shorter, and proximate may be set as atarget range. In the embodiment, a reference distance is 1 m, forexample. The “Signal Intensity” area is an area to store standard signalintensity at a predetermined distance. In the embodiment, apredetermined distance is, for example, 1 m which is same as thereference distance. Now, in wireless communications, even when packetsare transmitted at same signal intensity from the delivery device 12,the signal intensities of received packets varies. Data of standardsignal intensity in the “Signal Intensity” area is used as a referencewhen a distance from signal intensity is estimated on the receivingside.

Data size of each area of “Wireless LAN Connection (SSID)”, “WirelessLAN Connection (Security Key)”, and “STRING (URL)” may be changed,respectively. In the embodiment, the “Wireless LAN Connection (SSID)”area is 32 bytes, the “Wireless LAN Connection (Security Key)” area is64 bytes, and the “STRING (URL)” area is 132 bytes.

The “SIZE (1)” area has data size of 1 byte ad is an area to store datasize of the “Wireless LAN Connection (SSID)” area. In the embodiment, inthe “SIZE (1)” area is stored a value indicative of 32 bytes, which isthe data size of the “Wireless LAN Connection (SSID)” area. The“Wireless LAN Connection (SSID)” area is an area to store a service setidentifier (SSID) that is set for a wireless LAN. The “SIZE (2)” areahas data size of 1 byte and is an area to store data size of the“Wireless LAN Connection (Security Key)” area. In the embodiment, in the“SIZE (2)” area is stored a value indicative of 64 bytes, which is thedata size of the “Wireless LAN Connection (Security Key)” area. The“Wireless LAN Connection (Security Key)” area is an area to store asecurity key that is set for a wireless LAN. The “SIZE (3)” area hasdata size of 1 byte and is an area to store data size of the “STRING(URL)” area. In the embodiment, in the “SIZE (2)” area is stored a valueindicative of 132 bytes, which is the data size of the “String (URL)”area. The “String (URL)” area is an area to store a uniform resourcelocator (URL) to access first when communications become possible in thewireless LAN.

FIG. 4A is a diagram illustrating one example of a format of a packet ofProfile No: 02.

Profile No: 02 is data that sets a string such as a URL or the like. Asillustrated in FIG. 4B, Profile No: 02 has areas of “Control Address”,“Distance Condition”, and “Signal Intensity”. Profile No: 02 also has“Size” and “String (URL)” areas. The data of Profile No: 02 is up to 234bytes in total.

The areas of “Control Address”, “Distance Condition”, and “SignalIntensity” is similar to FIG. 4A and thus a description is omitted.

The data size of the “String (URL)” area may be changed. In theembodiment, the “String (URL)” area is 230 bytes.

The data size of the “SIZE” area is 1 byte and is an area to store thedata size of the “String (URL)” area. In the embodiment, the “SIZE” areais stored a value indicative of 230 bytes which is data size of the“String (URL)”. The “String (URL)” area is an area to store a stringthat delivers an URL or the like.

FIG. 4C is a diagram illustrating an example of a data format of ProfileNo: 03.

Profile No: 03 is data to set a message. As illustrated in FIG. 4C,Profile No: 03 has areas of “Control Address”, “Distance Condition”, and“Signal Intensity”. Profile No: 03 also has areas of “Size (1)”, “String(Title)”, “Size (2)”, and “String (Message)”. The data in Profile No: 03is up to 234 bytes in total.

Since the areas of “Control Address”, “Distance Condition”, and “SignalIntensity” is similar to FIG. 4A, and thus a description is omitted.

The data size of each area of “String (Title)” and “String (Message)”may be changed, respectively. In the embodiment, the “String (Title)”area is 30 bytes and the “String (Message)” area is 199 bytes.

The “Size (1)” area has data size of 1 byte and is an area to store datasize of the “String (Title)” area. In the embodiment, in the “Size (1)”area is stored 30 bytes which is the data size of the “String (Title)”area. The “String (Title)” area is an area to store a string that isdisplayed as a message title. The “Size (2)” area has data size of 1byte and is an area to store data size of the “String (Message)” area.In the embodiment, in the “Size (2)” area is stored 199 bytes which isthe data size of the “String (Message)” area. The “String (Message)”area is an area to store a string that is displayed as a message text.

FIG. 4D is a diagram illustrating an example of a data format of ProfileNo: 04.

Profile No: 04 is data to set an ID of a layer structure. As illustratedin FIG. 4D, Profile No: 04 has areas of “Control Address”, “DistanceCondition”, and “Signal Intensity”. Profile No: 04 also has areas of“First Layer ID”, “Second Layer ID”, and “Third Layer ID”. The data inProfile No: 04 is up to 9 bytes in total.

Since the areas of “Control Address”, “Distance Condition”, and “SignalIntensity” is similar to FIG. 4A, and thus a description is omitted.

The data size of each area of “First Layer ID”, “Second Layer ID”, and“Third Layer ID” has data size of 2 bytes and is an area to store an IDof a layer structure. For example, a shop ID to identify a shop isstored in the “First Layer ID” area. A floor ID to identify a floor in ashop is stored in the “Second Layer ID” area. A shelf ID to identify ashelf in a floor is stored in the “Third Layer ID” area.

FIG. 4E is a diagram illustrating an example of a data format of ProfileNo: 15.

Profile No: 15 is data in a free format. In Profile No: 15, a format maybe designed by a developer who develops an application using thedelivery system 10. As illustrated in FIG. 4E, Profile No: 15 has anarea of “free format”. The data in Profile No: 15 is up to 234 bytes intotal.

The “free format” area has data size of 234 bytes and is an area tostore data of a format designed by a developer.

In the delivery system 10 according to the embodiment, the informationsetting terminal 11 transmits delivery information of Profile No: 01,02, 03, 04, 15 to the delivery device 12 through communications in theconnection mode of BLE. The delivery device 12 divides the receiveddelivery information to size transmittable per packet of the advertisemode of BLE. Then, the delivery device 12 assigns each piece of divideddata thus divided a sequence number to identify the piece of divideddata and the number of divisions and sequentially delivers the data inthe advertise mode of BLE.

A format of a packet when the delivery device 12 transmits informationof each Profile No. in the advertise mode of BLE is descriedhereinafter. If no delivery information is set, a packet of Profile No:00 is delivered. On the other hand, when the delivery information isset, the delivery device 12 divides delivery target data to sizetransmittable per packet of BLE and delivers the data. In theembodiment, the size is up to 240 bytes by totaling 3 bytes of the“Company Code”, “Management Code”, and “Profile No.” areas, maximum 234byes of Profile No: 01 to 15, and 3 bytes of the “EncryptionConfirmation” area. The delivery device 12 divides the data of at most240 bytes into at most 15 pieces, each being 16 bytes, and delivers thedata.

FIG. 5 is a diagram illustrating an example of a packet format. FIG. 5illustrates an example of a format of a packet transmitted by BLE. FIG.5 illustrates a packet of Profile No: 00. A description of any partsimilar to FIG. 3 is omitted, appropriately.

The “SEQ” area has data size of 1 byte, and when data is divided anddelivered, a sequence number to identify the delivered data and thenumber of divisions are stored separately, each being 4 bits. Since thedata in Profile No: 00 illustrated in FIG. 5 is transmitted in onepacket without being divided, “1/1” is fixedly stored in the “SEQ” area.

A company code of the delivery device 12 of the delivery source of thepacket is stored in the “Company Code” area. In the “Management Code”area, a predetermined initial value is stored if the delivery device 12is in an initial state and a changed management code is stored if themanagement code is changed. The “Profile No.” area is an area to storeprofile information indicative of a type of data to be delivered. FIG. 5is a format of a packet of Profile No: 00. Thus, “00” is fixedly storedin the “Profile No.” area. In the example of FIG. 5, the “Profile Data”area illustrated in FIG. 3 is made “NULL” area. The “NULL” area has datasize of 10 bytes and is an area provided to adjust packet size to datasize that complies with iBeacon (registered trademark). Null data isstored in the “NULL” area.

FIGS. 6A to 6C are diagrams illustrating examples of packet formats.FIG. 6A to 6C illustrates an example of a format of a packet in whichdelivery information is divided into 15 pieces and which is transmittedin the advertise mode of BLE. FIG. 6A illustrates a packet of a sequencenumber “1”. FIG. 6B illustrates packets of sequence numbers “2” to “14”.FIG. 6C illustrates a packet of a sequence number “15”. Note that adescription of parts similar to FIG. 3 is omitted, appropriately.

For the “SEQ” area, when the data is divided and delivered, the sequencenumber to identify delivered data and the number of divisions areseparately stored, each being 4 bits.

In the “Data” area illustrated in FIG. 6A is stored the dividedinformation of first 16 bytes that is the divided delivery data, and isseparated to areas of “Company Code”, “Management Code”, “Profile No.”,and “Profile Data”. The “Data” area illustrated in FIG. 6B stores thedivided data of 16 bytes of an intermediate part, and is made the areaof “Profile Data”. In the “Data” area illustrated in FIG. 6C is storedthe divided data of last 16 bytes that is the divided deliveryinformation, and is separated to areas of “Profile Data” and “EncryptionConfirmation”.

Turning back to FIG. 2, the display unit 21 is a display deviceconfigured to display various types of information. The display unit 21includes a display device such as a liquid crystal display (LCD). Thedisplay unit 21 displays various types of information. For example, thedisplay unit 21 displays various types of screens such as variousoperating screens.

The input unit 22 is an input device configured to input various typesof information. For example, the input device includes various buttonsprovided on the information setting terminal 11 or an input device, suchas a transparent touch sensor, provided on the display unit 21. Forexample, the input unit 22 accepts various operation inputs related toverification. The input unit 22 accepts an operation input from a userand inputs operation information indicating content of the acceptedoperation. The example of FIG. 2 illustrates a functional configurationin which the display unit 21 and the input unit 22 are separated.Instead, a device, such as a touch panel, in which the display unit 21and the input unit 22 are integrally provided, may be provided.

The storage unit 23 is a storage device configured to store varioustypes of data. For example, the storage unit 23 is a semiconductormemory capable of rewriting data, such as a random access memory (RAM),a flash memory, or a non-volatile static random access memory (NVSRAM).Note that the storage unit 23 may also be a storage device such as ahard disk, a solid state drive (SSD), or an optical disk.

The storage unit 23 stores an operating system (OS) to be run by thecontrol unit 24 or various programs. For example, the storage unit 23stores various programs including a program to perform processing to bedescribed below. Furthermore, the storage unit 23 stores informationrelated to various types of data or various settings to be used in aprogram to be executed by the control unit 24.

The control unit 24 is a device configured to control the informationsetting terminal 11. As the control unit 24, an electronic circuit suchas a central processing unit (CPU), a micro processing unit (MPU), orthe like, or an integrated circuit such as an application specificintegrated circuit (ASIC), a field programmable gate array (FPGA), orthe like, may be adopted. The control unit 24 has an internal memory tostore a program that defines various processing procedures or controldata, and performs various processes by using the program or the controldata. The control unit 24 functions as various process units by variousprograms operating. For example, the control unit 24 has a receptionunit 30, a coupling unit 31, a decryption unit 32, an acceptance unit33, an encryption unit 34, and a transmission unit 35.

The reception unit 30 receives information delivered from the deliverydevice 12 by way of the wireless communication I/F unit 20. For example,if the delivery device 12 is in an initial state, the reception unit 30receives a packet in the format illustrated in FIG. 5 from the deliverydevice 12. In addition, for example, if delivery information is set inthe delivery device 12, the reception unit 30 receives from the deliverydevice 12 a packet including divided data obtained by dividing thedelivery information. For example, the reception unit 30 receives apacket of the format illustrated in FIGS. 6A to 6C from the deliverydevice 12.

The coupling unit 31 couples data of received BLE packets. For example,the coupling unit 31 determines a sequence number and number ofdivisions from data in the “SEQ” area of the received packet. Then, thecoupling unit 31 judges whether packets for which serial numbersincluded in the packets match and which have sequence numberscorresponding to the number of divisions are all received. When allpackets which have sequence numbers corresponding to the number ofdivisions are received, the coupling unit 31 couples data in the “Data”area of the packet in the order of sequence numbers.

The decryption unit 32 decrypts data coupled by the coupling unit 31.Details of decryption are described below. With this, the company code,the management code, the profile No, and data defined by the profile No.of the decrypted data are restored to a state before encryption.

The acceptance unit 33 accepts various inputs. For example, theacceptance unit 33 displays various screens on the display unit 21 andaccepts input from the input unit 22. For example, the acceptance unit33 displays input of the company code/management code input screen andaccepts input of the company code and the management code.

FIG. 7 is a diagram illustrating an example of a screen for inputting acompany code/management code. A company code and management code inputscreen 100 has a company code input area 101, a management code inputarea 102, and an OK button 103.

A manager inputs a company code in the input area 101, inputs amanagement code in the input area 102, and selects the OK button 103.

The acceptance unit 33 stores in the storage unit 23 the company codeand the management code inputted from the company code and managementcode input screen 100, as a specified company code and a specifiedmanagement code.

When a company code and a management code decrypted by the decryptionunit 32 match the specified company code and the specified managementcode, the acceptance unit 33 displays information related to thedelivery device 12, which is a delivery source of the restored data, onthe display unit 21. For example, the acceptance unit 33 displays aterminal number of the delivery device 12 of the delivery source on thedisplay unit 21. Note that it may be possible that there are multipledelivery devices 12 whose company code and management code match, andthat in such a case, terminal numbers of the multiple delivery devicesare displayed.

The acceptance unit 33 accepts from the displayed delivery deviceselection of a change target delivery device 12 whose various settingsare changed. The acceptance unit 33 acquires the settings from theselected change target delivery device 12. For example, the acceptanceunit 33 connects to the change target delivery device 12 in theconnection mode to acquire the set various types of information. Forexample, the acceptance unit 33 acquires from the change target deliverydevice 12 delivery information, a control address, a distance condition,signal intensity, a packet transmission cycle, a packet switching cycle,or the like.

The acceptance unit 33 displays on the display unit 21 various settingchange screens, where the settings of the change target delivery device12 are changed, and accepts input from the input unit 22. For example,the acceptance unit 33 displays a menu screen of the setting change andaccepts input of delivery information, a control address, a distancecondition, signal intensity, a packet transmission cycle, or a packetswitching cycle, or the like that are displayed from respectivedisplayed screens from the menu screen.

FIG. 8A is a diagram illustrating an example of a menu screen of settingchange. A menu screen 110 has a wireless LAN connection button 111A, aURL button 111B, a message button 111C, an ID button 111D, a Free formatbutton 111E, and a management setting button 111F. When the wireless LANconnection button 111A is selected, the setting change screen related tothe wireless LAN is displayed. When the URL button 111B is selected, thesetting change screen related to URL is displayed. When the messagebutton 111C is selected, the setting change screen related to a messageis displayed. When the ID button 111D is selected, the setting changescreen related to ID is displayed. When the Free format button 111E isselected, the setting change screen to set data in a free format isdisplayed. When the management setting button 111F is selected, thesetting change screen for performing management setting such as adelivery operation is displayed. The delivery device 12 may set deliveryinformation with any one of Profile No: 01 to 15. Thus, any one of thewireless LAN, the URL, the message, the ID, the free format is selectedon the menu screen 110, and the delivery information is set.

When delivery information is set for the change target delivery device12, the acceptance unit 33 displays a check mark 116 corresponding tothe button 111 depending on a type of the delivery information. Theexample of FIG. 8A illustrates that delivery information related to thewireless LAN connection is set for the change target delivery device 12.When the information is set for the delivery device 12, the setinformation is displayed on the setting change screen by default. In theexample of FIG. 8A, when the LAN connection button 111A is selected, theset information is displayed on the setting change screen related to thewireless LAN by default.

FIG. 8B is a diagram illustrating an example of a setting change screenrelated to a wireless LAN. A setting change screen 120 has an SSID inputarea 121, a security key input area 122, a URL input area 123, and a Setbutton 124.

The manager inputs an SSID to be set for the wireless LAN in the inputarea 121, and a security code to be set for the wireless LAN in theinput area 122. Then, the manager inputs URL to access first in theinput area 123, and selects the Set button 124. When the Set button 124is selected, the acceptance unit 33 generates data of a profilecorresponding to a type of delivery information. For example, theacceptance unit 33 generates data of Profile No: 01 illustrated in FIG.4A, based on the information inputted on the setting change screen 120.

FIG. 8C is a diagram illustrating an example of a setting change screenrelated to URL. A setting change screen 130 has a URL input area 131 anda Set button 132.

The manager inputs URL, to which a reference is made, in the input area131 and selects the Set button 132. When the Set button 132 is selected,the acceptance unit 33 generates data of Profile No: 02 illustrated inFIG. 4B based on the information inputted on the setting change screen130.

FIG. 8D is a diagram illustrating an example of a setting change screenrelated to a message. A setting change screen 140 has a message titleinput area 141, a message text input area 142, and a Set button 143.

The manager inputs a title of a message to be delivered in the inputarea 141 and a text of the message to be delivered in the input area142, and selects the Set button 143. When the Set button 143 isselected, the acceptance unit 33 generates data of Profile No: 03illustrated in FIG. 4C based on the information inputted on the settingchange screen 140.

FIG. 8E is a diagram illustrating an example of a setting change screenrelated to an ID. A setting change screen 150 has a first layer ID inputarea 151, a second layer ID input area 152, a third layer ID input area153, and a Set button 154.

The manager inputs an ID of a first layer to be delivered in the inputarea 151, an ID of a second layer to be delivered in the input area 152,and an ID of a third layer to be delivered in the input area 13, andselect the Set button 154. When the Set button 154 is selected, theacceptance unit 33 generates data of Profile No: 04 illustrated in FIG.4D based on the information inputted on the setting change screen 150.

FIG. 8F is a diagram illustrating an example of setting change screen ofdata in a free format. A setting change screen 160 has a data input area161 and a Set button 162.

The manager inputs data to be delivered in the input area 161 andselects the Set button 162. When the Set button 162 is selected, theacceptance unit 33 generates data of Profile No: 15 illustrated in FIG.4E based on the information inputted on the setting change screen 160.

FIG. 8G is a diagram illustrating an example of a setting change screenfor performing management setting. A setting change screen 170 has amanagement code input area 171, a packet transmission cycle input area172, a packet switching cycle input area 173, a control address inputarea 174, a distance condition input area 175, a signal intensity inputarea 176, and a Set button 177. When the distance condition input area175 is selected, selection candidates of the distance conditions aredisplayed. For example, as the selection candidates of the distanceconditions, unlimited, longer than a reference distance, shorter thanthe reference distance, and proximate are displayed in the input area175. Selecting from the displayed selection candidates allows the inputarea 175 to be entered.

The Manager inputs on the setting change screen 170 change content on atarget whose settings are changed. For example, when the manager changesthe management code, the manager inputs a new management code in theinput area 171. When changing the packet transmission cycle and thepacket switching cycle in BLE, the manager also inputs a new packettransmission cycle in the input area 172 and a new packet switchingcycle in the input area 173. When changing the control address, themanager also inputs a new control address in the input area 174. Whenchanging the distance condition, the manager also selects a new distancecondition in the input area 175. When changing the signal intensity ofthe reference to be delivered, the manager also inputs signal intensityof a new reference in the input area 176. When the setting change iscomplete, the manager selects the Set button 177. When the Set button177 is selected, the acceptance unit 33 sets to the delivery device 12the transmission cycle in the input area 172 and the switching cycle inthe input area 173 on the setting change screen 170. In addition, theacceptance unit 33 generates data of a profile for which the managementcode in the input area 171, the control address in the input area 174,the distance condition in the input area 175, and the signal intensityin the input area 176 on the setting change screen 170 are set. Forexample, the acceptance unit 33 generates data of a profile for whichthe management code, the control address, the distance condition, andthe signal intensity are changed, for data of a profile displayed bydefault.

The encryption unit 34 encrypts data of the profile generated at thereception unit 33. For example, the encryption unit 34 uses anencryption key to encrypt data accepted from the acceptance unit 33 atthe advanced encryption standard (AES) 128 Bit. If the encryption unit34 directly encrypts accepted data, in some cases, data to be encryptedmay not match the unit of block encryption. The encryption unit 34encrypts the accepted data by, for example, adding a predetermined codesuch as Null, so that the data to be encrypted may be divided bypredetermined size for the block encryption. For example, in theembodiment, the predetermined size is 16 bytes, and a total of thecompany code, the management code, and profile No is 3 bytes, andconfirmation data is 3 bytes. Thus, the encryption unit 34 adds thepredetermined code to the data in the accepted profile so that a totalof 6, the number of bytes of the data in the accepted profile and thenumber of bytes of the predetermined code can be a multiple of 16, andencrypts the resultant data. That is to say, the encryption unit 34 addsthe predetermined code to the profile data so that the total size of theprofile data and additional data to be encrypted with the profile datacan be divided by predetermined size, and then encrypts the resultantdata.

As an encryption key used in encryption and decryption, the informationsetting terminal 11 and the reception terminal 13 may store same data inadvance or may generate the data according to predetermined rules. Ifthe data is generated according to the predetermined rules, theinformation setting terminal 11 and the reception terminal 13 stores thesame base key in advance. The information setting terminal 11 and thereception terminal 13 convert the base key using the serial numberincluded in the header of a received packet according to thepredetermined rules to generate the encryption key. With this, a sameencryption key is generated for packets received from the same deliverydevice 12. Although the case where a serial number is acquired from areceived packet is described, the serial numbers of the delivery devices12 which are targets of information update may be stored in advance inthe information setting terminal 11 if the delivery devices 12 which aretargets of information update are limited. Furthermore, an encryptionkey that has been converted from the base key using the serial numberaccording to the predetermined rules may be stored in advance.

FIG. 9A is a diagram illustrating flow of encryption. The acceptanceunit 33 generates profile data. In FIG. 9A(A), the profile data of 240bytes to which confirmation data is added is generated. The confirmationdata is data to confirm whether encrypted data is correctly decrypted.The confirmation data is generated from, for example, profile data,according to the predetermined rules.

For example, the encryption unit 34 uses a serial number to generate anencryption key and uses the generated encryption key to encrypt theprofile data. In FIG. 9A(B), the profile data is encrypted and 240 bytesof encrypted data is generated.

The transmission unit 35 generates a packet having the encrypted datastored in the “Data” area as delivery information and transmits thepacket to the change target delivery device 12 through communications inthe connection mode of BLE.

A configuration of the delivery device 12 is described hereinafter. Asillustrated in FIG. 2, the delivery device 12 has a wirelesscommunication I/F unit 40, a storage unit 41, a the control unit 42.Note that the delivery device 12 may have any device other than theabove. For example, the delivery device 12 may have a communication unitconfigured to perform communications through a mobile communicationnetwork or a wireless local area network (LAN).

The wireless communication I/F unit 40 is an interface configured tocontrol communications with other devices. A wireless chip supportingBLE may be used as the wireless communication I/F unit 40. Note that thewireless communication I/F unit 40 may also support Bluetooth(registered trademark) Classic.

The wireless communication I/F unit 40 transmits and receives varioustypes of information to and from other devices, through near fieldcommunications. For example, the wireless communication I/F unit 40delivers information to the information setting terminal 11 and thereception terminal 13, through BLE. In addition, for example, thewireless communication I/F unit 40 receives various types of informationfrom the information setting terminal 11 through communications in theconnection mode of BLE.

The storage unit 41 is a storage device configured to store varioustypes of data. For example, the storage unit 41 is a semiconductormemory capable of rewriting data, such as a RAM, a flash memory, and anNVSRAM. Note that the storage unit 41 may be a storage device such as ahard disk, an SSD, or an optical disk.

The storage unit 41 stores an OS or various programs executed by thecontrol unit 42. For example, the storage unit 41 stores variousprograms, including a program that performs processing to be describedbelow. Furthermore, the storage unit 41 stores various types of dataused in a program executed by the control unit 42 or information relatedto various settings. For example, the storage unit 41 stores deliveryinformation 50 and divided data 51.

The control unit 42 is a device configured to control the deliverydevice 12. An electronic circuit such as CPU or MPU or an integratedcircuit such as an ASIC or FPGA may be adopted as the control unit 42.The control unit 42 has an internal memory to store a program thatdefines various processing procedures or control data, and performsvarious processes by using the programs. The control unit 42 functionsas various processing units by various programs operating. For example,the control unit 42 has a reception unit 60, a division unit 61, and adelivery unit 62.

The reception unit 60 receives information delivered from theinformation setting terminal 11 by way of the wireless communication I/Funit 40. For example, the reception unit 60 receives a packet includingdelivery information from the information setting terminal 11, throughcommunications in the connection mode. The reception unit 60 stores thedelivery information included in the received packet as deliveryinformation 50 in the storage unit 41.

The division unit 61 divides the delivery information 50 stored in thestorage unit 41 by predetermined size transmittable per packet of BLE.For example, the division unit 61 divides the delivery information 50into at most 15 pieces of data, each being 16 bytes, in sequence fromthe front side, and delivers the data. The division unit 61 associateseach piece of divided data 51 that is obtained by dividing the deliveryinformation 50 with a sequence number identifying the piece of divideddata 51, and stores the data in the storage unit 41. The division unit61 also stores the number of divisions of the divided data 51 in thestorage unit 41.

The delivery unit 62 delivers information through BLE. For example, thedelivery unit 62 stores any one of the pieces of the divided data 51 inthe “Data” area, and generates a BLE packet that stores a sequencenumber identifying the divided data 51 and the number of divisions inthe “SEQ” area. Then, the delivery unit 62 transmits the generatedpacket in every packet transmission cycle. The delivery unit 62 alsoswitches the divided data in the order of the sequence number for everypacket switching cycle. For example, the delivery unit 62 generates apacket that stores the divided data 51 in the order of the sequencenumber for every packet switching cycle. Then, the delivery unit 62transmits the generated packet for every packet transmission cycle. Apredetermined initial value of each of the packet transmission cycle andthe packet switching cycle is stored in the storage unit 41 and changedby setting from the information setting terminal 11.

The delivery device 12 may be in a sleep state that consumes littlebattery in conjunction with the packet transmission cycle, in order toreduce battery consumption. For example, the delivery device 12 may havea built-in timer, starts every packet transmission cycle, and enter thesleep state again after transmission of a packet by the delivery unit 62is complete. The delivery unit 62 may store the number of transmissionsof a same packet in the storage unit 41, and generate a BLE packet thatswitches the divided data 51 and transmit the packet, as being at aswitching cycle, when the same packet is transmitted for a predeterminednumber of times.

FIG. 9B is a diagram illustrating division of delivery information andflow of delivery. The division unit 61 divides encrypted deliveryinformation to predetermined size. In FIG. 9B(A), encrypted deliveryinformation of 240 bytes is divided into 15 pieces of divided data, eachbeing 16 bytes, in sequence from the front side.

The delivery unit 62 generates a packet including divided data and asequence number of the divided data. The delivery unit 62 generates apacket that stores the divided data 51 in the order of the sequencenumber, and transmits the generated data in every packet transmissioncycle. In FIG. 9B(B), respective packets of the sequence numbers of 1 to15 are generated and sequentially transmitted.

A configuration of the reception terminal 13 is described hereinafter.As illustrated in FIG. 2, the reception terminal 13 has a wirelesscommunication I/F unit 70, a display unit 71, an input unit 72, astorage unit 73, and a control unit 74. Note that the reception terminal13 may have any device other than the devices mentioned above. Forexample, the reception terminal 13 may have a communication unit thatperforms communications through a mobile communication network or awireless local area network (LAN).

The wireless communication I/F unit 70 is an interface configured tocontrol communications with other devices. A wireless chip supportingBLE may be used as the wireless communication I/F unit 70. Note that thewireless communication I/F unit 70 may also support Bluetooth(registered trademark) Classic.

The wireless communication I/F unit 70 transmits and receives varioustypes of information with other devices through near fieldcommunications. For example, the wireless communication I/F unit 70receives information delivered from the delivery device 12 in theadvertise mode of BLE.

The display unit 71 is a display device configured to display varioustypes of information. The display unit 71 includes a display device suchas an LCD. The display unit 71 displays various types of information.For example, the display unit 71 displays various screens such asvarious operating screens.

The input unit 72 is an input device configured to input various typesof information. For example, the input unit 72 includes various buttonsprovided on the reception terminal 13 or a transparent touch sensorprovided on the display unit 71. The input unit 72 accepts input ofvarious types of information. For example, the input unit 72 acceptsinput of various operations related to verification. The input unit 72accepts operation input from a user, and inputs in the control unit 74operation information indicating content of the accepted operation. Inaddition, while in the example of FIG. 2, a functional configuration isillustrated and thus the configuration is divided to the display unit 71and the input unit 72, the device may be such configured that thedisplay unit such as a touch panel and the input unit 72 are integrallyprovided.

The storage unit 73 is a storage device configured to store varioustypes of data. For example, the storage unit 73 is a semiconductormemory capable of rewriting data, such as a RAM, a flash memory, and anNVSRAM. Note that the storage unit 73 may be a storage device such as ahard disk, an SSD, and an optical disk.

The storage unit 73 stores an OS or various programs executed by thecontrol unit 74. For example, the storage unit 73 stores variousprograms including a program that performs processing to be describedbelow. Furthermore, the storage unit 73 stores various types of dataused in a program executed by the control unit 74 or information relatedto various settings.

The control unit 74 is a device configured to control the receptionterminal 13. An electronic circuit such as a CPU or MPU or an integratedcircuit such as an ASIC or FPGA may be adopted as the control unit 74.The control unit 74 has an internal memory to store a program thatdefines various processing procedures or control data, and performsvarious processes by using the programs. The control unit 74 functionsas various processing units by various programs operating. For example,the control unit 74 has a reception unit 80, a coupling unit 81, adecryption unit 82, an estimation unit 83, and a delivery informationprocessing unit 84.

The reception unit 80 receives information delivered from the deliverydevice 12 by way of the wireless communication I/F unit 70. For example,the reception unit 80 receives a packet including divided data obtainedby dividing the delivery information from the delivery device 12. Forexample, the reception unit 80 receives a packet of the formatillustrated in FIGS. 6A to 6C from the delivery device 12.

The coupling unit 81 couples data of the received packet. For example,the coupling unit 81 determines a sequence number and the number ofdivisions from data in the “SEQ” area of the received packet. Then, thecoupling unit 81 judges whether packets for which serial numbersincluded in the packets match and which have sequence numberscorresponding to the number of divisions are all received. When allpackets which have sequence numbers corresponding to the number ofdivisions are received, the coupling unit 81 couples data in the “Data”area of the packet in the order of sequence numbers.

The decryption unit 82 decrypts the data coupled by the coupling unit81. The decryption unit 82 uses an encryption key as a decryption key todecrypt data. As described above, for an encryption key, same data maybe stored in advance in the information setting terminal 11 and thereception terminal 13 or may be generated according to the predeterminedrules. For example, the encryption unit 34 separates a serial numberfrom the received packet. Then, the encryption unit 34 uses theseparated serial number to generate an encryption key. For example, theencryption unit 34 generates an encryption key that is converted from abase key according to the predetermined rules by using a serial number.The encryption unit 34 uses the generated encryption key as a decryptionkey to decrypt profile data. With this, a company code, a managementcode, a profile No., and data of profile No. of decrypted data arerestored to a state before encryption. The decryption unit 82 generatesconfirmation data from data of profile No according to the predeterminedrules, and judge that the data is restored normally when the generatedconfirmation data matches confirmation data included in restored data.

FIG. 9C is a diagram illustrating flow of coupling and decryption ofreceived data. The reception unit 80 receives a packet including divideddata from the delivery device 12. In FIG. 9C(A), respective packets ofthe sequence numbers of 1 to 15 are received. The coupling unit 81judges whether all the packets are received from the sequence numbersand the number of divisions of the received packets for every serialnumber included in the packet. When all the packets of the sequencenumber corresponding to the number of divisions are received, thecoupling unit 81 couples data in the “Data” area of the packet in theorder of sequence numbers. In FIG. 9C(B), the data of 16 bytes in the“Data” area of each packet is coupled in the order of sequence numbersto be data of 240 bytes. This data of 240 bytes is encrypted deliveryinformation. The decryption unit 82 decrypts the data using as adecryption key the encryption key that is converted from a base keyaccording to the predetermined rules by using the serial number. In FIG.9C(C), the encrypted data of 240 bytes is decrypted to be data of 240bytes that is not encrypted. This data of 240 bytes is deliveryinformation.

Turning back to FIG. 2, the estimation unit 83 estimates a distance fromthe delivery device 12 that transmitted the packet. The closer thedistance from the delivery device 12 is, the higher the signal intensityis. The farther the distance from the delivery device 12 is, the lowerthe signal intensity is. Then, the estimation unit 83 estimates adistance from the signal intensity when the packet is received at thewireless communication I/F unit 70. Here, in the wirelesscommunications, even when a packet is received at same radio wavetransmission power from the delivery device 12, signal intensity of thereceived packet varies depending on the surrounding environment. Then,the estimation unit 83 uses data of standard signal intensity stored inthe “Signal Intensity” area of the packet to estimate a distance. Forexample, when the signal intensity when the packet is received is largerthan the standard signal intensity, the estimation unit 83 estimatesthat a distance is less than 1 meter from the delivery device 12. Inaddition, when the signal intensity when the packet is received is equalto or smaller than the standard signal intensity, the estimation unit 83estimates that the distance from the delivery device 12 is equal to orlarger than 1 meter. In addition, in the wireless communications, thesignal intensity dramatically drops as the distance is farther, till aproximate predetermined distance is reached. The estimation unit 83stores a predetermined threshold that is determined from characteristicsof the dramatically dropping signal intensity. Thus, when the signalintensity when the packet is received is equal to or larger than thepredetermined threshold, the estimation unit 83 determines that thedelivery device 12 is proximate. This predetermined threshold is presetaccording to a distance considered proximate to the delivery device 12.Note that the estimation unit 83 may use the standard signal intensityas a reference to estimate a distance from signal intensity of areceived packet. For example, the estimation unit 83 may also estimate adistance by using an arithmetic equation that calculates a distance byusing the standard signal intensity and signal intensity of a receivedpacket.

A delivery information processing unit 84 utilizes decrypted deliveryinformation to perform various processes. For example, when a distanceestimated by the estimation unit 83 meets a condition in the “DistanceCondition” area of the received packet, the delivery informationprocessing unit 84 utilizes decrypted delivery information to performvarious processes. The various processes may be a process that thedelivery information processing unit 84 performs by utilizing deliveryinformation or a process to provide delivery information to others. Forexample, when delivery information is data of Profile No: 01, thedelivery information processing unit 84 performs setting of a wirelessLAN based on the delivery information. In addition, for example, whenthe delivery information is data of Profile No: 02, the deliveryinformation processing unit 84 accesses a URL of the deliveryinformation to display a page of the URL. In addition, when the deliveryinformation is data of Profile No: 03, the delivery informationprocessing unit 84 displays a message of the delivery information. Inaddition, for example, when the delivery information is data of ProfileNo: 04, the delivery information processing unit 84 provides a firstlayer ID, a second layer ID, and a third layer ID to other applications.As such, the delivery system 10 may cause processing to be performedonly if the condition specified in the distance condition is met. Notethat the delivery information processing unit 84 determines whether acompany code and a management code included in delivery information area company code and a management code to be processed. If the companycode and the management code included in the delivery information arethe company code and the management code to be processed, the deliveryinformation processing unit 84 may utilize the delivery information toperform processing. Determination on a target of processing may only beany one of a company code or a management code. A company code or amanagement code to be a target of processing may be preset or inputtedfrom a screen or the like. With this, the delivery system 10 may causeprocessing to be performed only with delivery information of a specificcompany code and management code. For example, a different company codemay be set to a shopping mall or a department store, a company code of adelivery source has more than one shop, and a different management codeis assigned to each shop. In such a case, if the delivery informationprocessing unit 84 sets matching of a company code and a management codeas a condition, the delivery information processing unit 84 may causeprocessing to be performed only with delivery information delivered froma specific shop. On the other hand, if the delivery informationprocessing unit 84 sets matching of company codes as a condition, thedelivery information processing unit 84 may cause processing to beperformed on delivery information delivered from all shops.

Flow of Processing

Flow of processing to be performed by the delivery system 10 accordingto example 1 is described. First, flow of setting delivery informationfor the delivery device 12 is described. FIGS. 10A and 10B show asequence diagram illustrating flow of a setting process that setsdelivery information. The information setting terminal 11 judges whethera setting program which sets delivery information is started (S10). Whenthe setting program is started (S10 affirmative), the followingprocesses are performed in the information setting terminal 11.

The acceptance unit 33 displays the company code and management codeinput screen 100 and accepts input of a company code and a managementcode (S11). The acceptance unit 33 stores the company code and themanagement code inputted from the company code and management code inputscreen 100 as a specified company code and a specified management codein the storage unit 23.

When the power is turned on, the delivery device 12 stars delivery of apacket in the advertise mode of BLE. When delivery information is notset, the delivery device 12 delivers a packet of Profile No: 00. On theother hand, when the delivery information is set, the delivery device 12divides the delivery information by predetermined size transmittable perBLE packet and delivers the packets.

The reception unit 30 receives the packets delivered from the deliverydevice 12 by way of the wireless communication I/F unit 20 (S13). Thereception unit 30 stores packet data together with a serial number and asequence number included in the packets (S14). The coupling unit 31judges for each serial number included in the packet whether packets ofsequence numbers corresponding to the number of divisions are allreceived (S15). If all the packets are not received (S15 negative),processing shifts to S13 described above.

On the other hand, when all the packets are received (S15 affirmative),the coupling unit 31 integrates data in the “Data” area of the packet inthe order of sequence numbers (S16). The decryption unit 32 decrypts thedata coupled by the coupling unit 31 (S17).

The acceptance unit 33 judge whether a company code and a managementcode of restored data match the specified company code and the specifiedmanagement code stored in the storage unit 23 (S18). When the companycode and the management code do not match (S18 negative), processingshifts to S13 described above.

On the other hand, when the company code and the management code match(S18 affirmative), the acceptance unit 33 displays a terminal number ofthe delivery device 12 of the delivery source of the restored data onthe display unit 21, and accepts selection of the change target deliverydevice 12 (S19).

The acceptance unit 33 judges whether or not the change target deliverydevice 12 is selected (S20). When the change target delivery device 12is not selected (S20 negative), processing shifts to S13 describedabove.

On the other hand, when the change target delivery device 12 is selected(S20 affirmative), the transmission unit 35 connects to the changetarget delivery device 12 through connections in the connection mode ofBLE (S21). The acceptance unit 33 displays the password input screen toaccept input of a password (S22). The transmission unit 35 transmits theaccepted password to the delivery device 12 (S23).

The delivery device 12 stores an authentication password in advance. Thecontrol unit 42 of the delivery device 12 performs authentication to seewhether a password received from the information setting device 11matches the authentication password (S24). In the example of FIG. 10Aand FIG. 10B, the authentication is successful.

The acceptance unit 33 transmits a transmit request to acquire varioustypes of latest information set in the change target delivery device 12(S25). The delivery device 12 transmits the various types of informationthat is set (S26). For example, the delivery device 12 transmitsinformation on all divided data 51, a control address, a distancecondition, signal intensity, a packet transmission cycle, a packetswitching cycle or the like. Note that the delivery device 12 maycontinuously transmit pieces of divided data 51 in packets of BLE, orintegrate all the pieces of divided data 51 and transmit the data in onepacket. The reception unit 30 receives the packets transmitted from thedelivery device 12 by way of the wireless communication I/F unit 20(S27).

The acceptance unit 33 displays various setting change screens to changesettings of the change target delivery device 12 on the display unit 21(S28). For example, the acceptance unit 33 displays the menu screen 110from which each setting screen is displayed. Note that if received datais Profile No: 01, 02, 03, 04, 15, the Profile No: 01, 02, 03, 04, 15are displayed as an initial value in the input column of each settingchange screen using information decrypted by the decryption unit 32. Theacceptance unit 33 accepts input from the input unit 22 (S29). Forexample, the acceptance unit 33 accepts input of delivery information, amanagement code, a control address, a distance condition, signalintensity, a packet transmission cycle, a packet switching cycle, or thelike. The acceptance unit 33 judges whether the setting is complete byselecting Set button on any of each setting change screen (S30). Whenthe setting is not complete (S30 negative), processing shifts to S28described above. Here, setting of any of Profile No: 01, 02, 03, 04, 15is changed.

On the other hand, when the setting is complete (S30 affirmative), theencryption unit 34 uses an encryption key to encrypt data of the changedprofile and generate delivery information (S31). The transmission unit35 transmits a packet with delivery information stored in the “Data”area and writes the delivery information in the delivery device 12(S32).

The reception unit 60 receives a packet including delivery informationfrom the delivery device 12 through communications in the connectionmode of BLE from the information setting terminal 11 (S33). Thereception unit 60 stores the delivery information include in thereceived packet as delivery information 50 in the storage unit 41 (S34).The division unit 61 divides the delivery information 50 bypredetermined size transmittable per BLE packet and stores theinformation (S35). For example, the division 61 divides the deliveryinformation to at most 15 pieces, each being 16 bytes, from the frontside of the data and delivers the data. The division unit 61 associatesa sequence number identifying divided data 51 with each piece of thedivided data 51 obtained by dividing the delivery information and storesthe data in the storage unit 41. The division unit 61 also stores thenumber of divisions of the divided data in the storage unit 41.

Then, flow of delivering information and decrypting the deliveredinformation is described hereinafter. FIG. 11 is a sequence diagramillustrating flow of a delivery process that delivers information and ofa decryption process that decrypts delivered information. As illustratedin FIG. 11, when power of the delivery device 12 is turned on (S50), thedelivery processing is started and subsequent processes are performed.On the other hand, the reception terminal 13 judges whether a receptionprogram to receive delivered information is started (S51). In thereception terminal 13, when the reception program is started, subsequentprocesses are performed.

The delivery unit 62 sets 1 to a variable n (S52). A value of thisvariable n represents a sequence number. The delivery unit 62 judgeswhether or not the divided data 51 is stored in the storage unit 41(S53). If the divided data 51 is stored (S53 affirmative), the deliveryunit 62 sets the number of divisions of the divided data 51 to avariable N (S54). The delivery unit 62 generates a BLE packet thatstores the divided data with n^(th) sequence number in the “Data” areaand the sequence number identifying the divided data 51 and the numberof divisions in the “SEQ” area (S55).

On the other hand, when the divided data 51 is not stored (S53), thedelivery unit 62 generates a BLE packet with “1/1” stored in the “SEQ”area (S56). For example, the delivery unit 62 generates a packet ofProfile No: 00.

The delivery device 12 shifts to and wait in a sleep state till thedelivery timing comes (S57 negative), and starts when the timing ofpacket transmission comes (S57 affirmative). When the delivery device 12is started, the delivery unit 62 transmits the generated packet (S58).

The reception unit 80 of the reception terminal 13 receives a packetincluding divided data from the delivery device 12 by way of thewireless communication I/F unit 70 (S59). The reception unit 80 storesdata of a packet together with a serial number and a sequence numberincluded in the packet (S60). The coupling unit 81 judges for eachserial number whether packets of sequence numbers corresponding to thenumber of divisions are all received (S61). When all packets are notreceived (S61 negative), processing shifts to S59 described above.

The delivery unit 62 judges whether timing to switch packets comes(S62). For example, if a period of time longer than a packet switchingcycle elapses after packets were switched last time, the delivery unit62 judges that the timing to switch packets comes. If the timing toswitch packets does not come (S62 negative), processing shifts to S57.On the other hand, if the timing to switch packets comes (S62affirmative), the delivery unit 62 adds 1 to a value of the variable nand updates the sequence number (S63). The delivery unit 62 judgeswhether a value of the variable n is larger than a value of the variableN (S64). When the value of the variable n is not larger than the valueof the variable N (S64 negative), processing shifts to S53 describedabove. On the other hand, when the value of the variable n is largerthan the value of the variable N (S64 affirmative), the delivery unit 62sets 1 to the variable n (S65), and processing moves to S53 mentionedabove.

On the other hand, when all packets are received (S61 affirmative), thecoupling unit 81 couples the data in the “Data” area of the packet inthe order of sequence numbers (S66). The decryption unit 82 decrypts thedata coupled by the coupling unit 81 (S67).

The delivery information processing unit 84 judges whether a companycode included in the decrypted delivery information matches a companycode to be processed (S68). If the company code does not match (S68negative), processing shifts to S59 described above.

If the company code matches (S68 affirmative), the estimation unit 83estimates a distance from signal intensity when the packet for which thecompany code matches is received (S69). The delivery informationprocessing unit 84 judges whether the distance estimated by theestimation unit 83 meets the condition in the “Distance Condition” ofthe received packet (S70). If the estimation unit 83 does not meet thecondition (S70 negative), processing shifts to S59 described above.

On the other hand, if the estimation unit 83 meets the condition (S70affirmative), the delivery information processing unit 84 divides thedecrypted delivery information according to the format of the profile No(S71). The delivery information processing unit 84 utilizes the divideddata to perform predetermined processing (S72).

Application Example

An example in which the delivery system according to this example isapplied is described hereinafter. FIG. 12A is a diagram illustrating anexample in which a delivery system is applied. FIG. 12A illustrates acase where beneficial information related to articles sold at a sellingspace of a shop such as a supermarket is delivered. In the example ofFIG. 12A, a reception terminal 13 is provided on a shopping cart 200. Inaddition, in the case of FIG. 12A, a delivery device 12 is placed in aliquor section and the delivery device 12 delivers information on otherarticles. For example, the delivery device 12 uses the format of ProfileNo: 02 to deliver an URL of a Web page on which information on snacks togo with wine is introduced. When a customer moves the shopping cart 200to come close to the liquor section, the reception terminal 13 receivesthe information delivered by the delivery device 12 and the Web page onwhich information on snacks to go with wine is introduced is displayed.In this manner, by delivering beneficial information related to articlesto sell, the delivery system 10 may effectively promote sales tocustomers.

FIG. 12B is a diagram illustrating another example in which the deliverysystem is applied. FIG. 12B illustrates a case where beneficialinformation is delivered real time on a shopping space of a shop such asa supermarket. In the example of FIG. 12B, a reception terminal 13 isprovided on a shopping cart 200. In addition, in the example of FIG.12B, a delivery device 12 is placed on the shopping space of the shop. Asales clerk uses an information setting terminal 11 to set beneficialinformation real time to the delivery device 12 and delivers informationfrom the delivery device 12. In the example of FIG. 12B, when a salesclerk sets baking time of bread, a message that bread is baked at thebakery section is delivered by using the format of Profile No: 03,corresponding to the baking time. The reception terminal 13 receives theinformation delivered by the delivery device 12 and the deliveredmessage is displayed. In this manner, by delivering beneficialinformation real time, the delivery system 10 may effectively promotesales to customers.

FIG. 12C is a diagram illustrating another example in which the deliverysystem is applied. FIG. 12C illustrates a case where beneficialinformation corresponding to customers is delivered at a souvenirsection. In the example of FIG. 12C, an application supporting adelivery system 10 is installed in a smart phone owned by a customer tocause the smart phone to function as a reception terminal 13. Theapplication may acquire a language used by the customer from OS settingsor input the language in advance, as occasion calls. In the example ofFIG. 12C, a Web page introducing information on articles is prepared ineach language. As for the address configuration of Web pages inrespective languages, an URL of a Web page in Japanese is used as acommon URL, and a URL of a Web page in a foreign language is formed byadding an address corresponding to the foreign language to the commonURL. For example, the Web page in Japanese has the URL as “http://aaa”.The Web page in English has the URL as “http://aaa.english”. The Webpage in Chinese has the URL as “http://aaa.chinese”. In addition, theaddress configuration may be such that the URL of the Web page inJapanese also has the common URL to which an address corresponding tothe language is added. In the example of FIG. 12C, the delivery device12 is placed in the souvenir section. The delivery device 12 deliversthe common URL. In the example of FIG. 12C, the delivery device 12delivers “http://aaa”. The reception terminal 13 accesses the address towhich address information corresponding to the language is added todisplay the Web page. In the example of FIG. 12C, the reception terminal13 of a Japanese accesses to “http://aaa” and the Web page in Japaneseis displayed. The reception terminal 13 of a foreigner A accesses to“http://aaa.english” and the Web page in English is displayed. Thereception terminal 13 of a foreigner B accesses to “http://aaa.chinese”and the Web page in Chinese is displayed. In this manner, the deliverysystem 10 may deliver beneficial information in a language used by acustomer by utilizing one URL delivered. In the example of FIG. 12C,same display content is displayed in the user terminals in all ofJapanese, English, and Chinese.

FIG. 12D is a diagram illustrating another example in which the deliverysystem is applied. FIG. 12D illustrates a case where beneficialinformation corresponding to a customer is delivered at an informationcounter. In the example of FIG. 12D, an application supporting adelivery system 10 is installed in a smart phone owned by a customer tocause the smart phone to function as a reception terminal 13. Theapplication may acquire a language used by the customer from OS settingsor input the language in advance, as occasion calls. The applicationsets a management code depending on a language used by a customer. Inthe example of FIG. 12D, multiple delivery devices 12 are placed at theinformation counter. A sales clerk uses an information setting terminal11 to set a management code corresponding to a language to set a messagein each language in other delivery device 12. The reception terminal 13buffers information received from the multiple delivery devices 12couples and decrypts information for which a serial number of thedelivery device 12 is same and in which all sequence numbers are found.The reception terminal 13 displays information, for which the managementcodes match, of delivered information. In the example of FIG. 12D, amessage in Japanese is displayed in the reception terminal 13 of aJapanese. A message in English is displayed in the reception terminal 13of a foreigner A. A message in Chinese is displayed in the receptionterminal 13 of a foreigner B. In this manner, even when the multipledelivery devices 12 are placed, the delivery system 10 may deliverbeneficial information corresponding to customers by using themanagement code. In addition, while the embodiment described abovediscloses a mechanism in which a management code is used to identify adelivery device 12 and a message to display is automatically selected,received information of the delivery devices 12 may be displayed in alist so that a customer may select. In the example of FIG. 12D,different contents are displayed in the respective languages on thereception terminals 13 of the respective users.

FIG. 12E is a diagram illustrating another example in which the deliverysystem is applied. FIG. 12E illustrates a case where information isdelivered in an evacuation center. In the example of FIG. 12E, anapplication supporting a delivery system 10 is installed in a smartphone owned by an evacuee to cause the smart phone to function as areception terminal 13. In the example of FIG. 12E, a delivery device 12is placed in the evacuation center. Since the delivery device 12 may beoperated with a battery or the like and has small power consumption, thedelivery device 12 may deliver information for a long period of timeeven in a situation in which there is no power supply equipment. Amunicipal employee uses an information setting terminal 11 to setinformation to be delivered. For example, a schedule to distribute goodsis delivered. The delivery device 12 continuously delivers the setinformation. When the information is delivered, the reception terminal13 displays the delivered information. For example, when information isbroadcasted, a person who is not around at the time of broadcasting maynot obtain information. On the other hand, by the delivery devicedelivering information, the delivery system 10 is not limited by thetiming of broadcasting and may make information well known to evacueeswho evacuate to the evacuation center.

FIG. 12F is a diagram illustrating another example in which the deliverysystem is applied. In the example of FIG. 12F, a delivery device 12 isplaced in a guestroom of a hotel. In the example of FIG. 12F, anapplication supporting a delivery system 10 is installed in a smartphone owned by a guest of a hotel to cause the smart phone to functionas a reception terminal 13. The delivery device 12 uses the format ofProfile No: 01 to deliver information related to settings of a wirelessLAN and a URL of a hotel portal site. The reception terminal 13 sets thewireless LAN based on the delivered information, accesses to the URL,and displays the hotel portal site. With this, the guest may connect tothe wireless LAN without setting the wireless LAN by himself or herself.In addition, the guest may obtain information for guests from the hotelportal site.

FIG. 12G is a diagram illustrating another example in which the deliverysystem is applied. FIG. 12G illustrates a case where valid informationalong a moving position is delivered. In the example of FIG. 12G,multiple delivery devices 12 are placed along a course of a factorytour. In the example of FIG. 12G, an application supporting a deliverysystem 10 is installed in a smart phone owned by a visitor to cause thesmart phone to function as a reception terminal 13. As the visitor movesalong the tour course and approaches the placed delivery device 12, aURL or a message corresponding to the location is delivered. Thisenables delivery of information corresponding to a location of avisitor. Note that the reception terminal 13 may be a dedicated terminalto be lent to a visitor.

Effects

As described above, in the delivery system 10 according to theembodiment, the information setting terminal 11 accepts deliveryinformation that is delivered by the delivery device 12. The informationsetting terminal 11 transmits the delivery information to the deliverydevice 12. The delivery device 12 receives the transmitted deliveryinformation. The delivery device 12 stores received delivery informationin the storage unit 41. The delivery device 12 divides stored deliveryinformation 50 to size deliver, and generates multiple pieces of divideddata 51. The delivery device 12 sequentially selects and delivers themultiple pieces of divided data 51. The reception terminal 13 receivesthe multiple pieces of divided data. The reception terminal 13 couplesthe multiple pieces of divided data to generate delivery information.This allows the delivery system 10 to directly provide usableinformation without being provided with a management server.

In addition, the information setting terminal 11 acquires an identifierto identify the delivery device 12. The information setting terminal 11uses the acquired identifier to encrypt delivery information to betransmitted. The delivery device 12 delivers separates the identifieridentifying the delivery device 12 from the received information. Thereception terminal 13 uses the separated identifier to decrypt thegenerated delivery information. With this, the delivery system 10 mayencrypt delivery information using a different encryption key for eachdelivery device, and only the reception terminal 13 that receives thedelivery information may restore the delivery information alone.

In addition, the information setting terminal 11 converts deliveryinformation to information with size equal to an integral multiple ofdelivery size the delivery information. With this, the delivery system10 may divide the delivery information by the delivery size, and maymake the sizes of packets to be delivered identical. In addition, whenthe predetermined size is set equal to 16 bytes which are of aprocessing unit of the AES encryption, efficient delivery of informationis enabled.

In addition, the information setting terminal 11 further acceptssettings of a target range based on a distance from the delivery device12. The information setting terminal 11 adds range informationindicating the target range to the delivery information and transmitsthe information. The reception terminal 13 estimates a distance fromsignal intensity of received pieces of divided information. When theestimated distance is in a target range indicated by the rangeinformation added to the coupled delivery information, the receptionterminal 13 performs a process using the delivery information. Withthis, the delivery system 10 may cause processing using restoredinformation to be performed only when the range from the delivery device12 is in the target range indicated by the range information.

In addition, the information setting terminal 11 further accepts inputof signal intensity at a predetermined distance from the delivery device12. The information setting terminal 11 adds a threshold indicating theaccepted signal intensity to the delivery information and transmits theinformation. The reception terminal 13 uses the threshold added to thecoupled delivery information to estimate a distance from the signalintensity of the pieces of divided information. This enables thedelivery system 10 to estimate a predetermined distance from thedelivery device 12 with precision.

In addition, the information setting terminal 11 accepts input of anyone type of delivery information of multiple types. The informationsetting terminal 11 adds profile information indicating a type ofdelivery information to the delivery information and transmits theinformation. This enables the information system to determine from theprofile information what type of information the delivery informationis.

Embodiment 2

Although so far the embodiments of the disclosed devices have beendescribed, the disclosed technique may be implemented in a variety ofdifferent forms in addition to the embodiment described above. Now,other embodiments included in the disclosure are described hereinafter.

For example, in the above embodiment, the case where the informationsetting terminal 11 displays the delivery device 12 that deliversinformation or which both the company code and the management code matchto selectively perform setting is described. However, the discloseddevice is not limited to this example. For example, the informationsetting terminal 11 may display the delivery device 12 that deliversinformation for which company codes match to selectively performsetting.

In addition, in the above embodiment, the case where the delivery device12 stores in the storage unit 41 the delivery information 50 and thedivided data 51 obtained by dividing the delivery information 50 isdescribed. However, the disclosed device is not limited to this example.For example, the delivery device 12 stores only the delivery information50 in the storage unit 41 and reads data, which is part of the data ofthe delivery information 50, when delivering to generate a packet. Morespecifically, the delivery unit 62 divides the delivery information 50to parts that is of predetermined size and transmitted in one packet,and switches read target parts in sequence for every switching cycle.Then, the delivery unit 62 may read the read target part for everytransmission cycle to generate and deliver a packet. In addition, forexample, the delivery device 12 may store only the divided data 51obtained by dividing the delivery information 50 in the storage unit 41and read the divided data 51 in sequence to generate a packet.

In addition, in the above embodiment, the case where the informationsetting terminal 11 writes delivery information in the delivery device12 is described. However, the disclosed device is not limited to thisexample. For example, delivery information may be written from aninformation setting device to the delivery device 12 by way of a publiccircuit, an Internet, a LAN, a WAN, or the like.

In addition, each component of each device illustrated is functionallyconceptual, and not desirable to be physically configured as theillustration. More specifically, a specific state of distribution andintegration of each device is not limited to the illustrated state, andall or some of the devices may be functionally or physically distributedand integrated in terms of any unit, depending on various loads or usagestatus. For example, the processing unit of the reception unit 30, thecoupling unit 31, the decryption unit 32, the acceptance unit 33, theencryption unit 34, and the transmission unit 35 may be integratedappropriately. In addition, for example, each processing unit of thereception unit 60, the division unit 61, and the delivery unit 62 may beintegrated appropriately. In addition, for example, each processing unitof the reception unit 80, the coupling unit 81, the decryption unit 82,the estimation unit 83, and the delivery information processing unit 84may be integrated appropriately. In addition, processing of eachprocessing unit the information setting terminal 11, the delivery device12, and the reception terminal 13 may be appropriately integrated sothat the processing is appropriately separated to multiple processes ofmultiple processing units. In addition, some or all of respectiveprocess functions performed by respective processing units may beimplemented by a CPU and a program that is analyzed and executed by theCPU, or may be implemented as hardware based on a wired logic.

Setting Program

In addition, various processes described in the above embodiment may beimplemented by performing a program prepared in advance in a smart phoneor a tablet terminal or a computer system such as a personal computer ora work station. Then, an example of a computer system that performs aprogram having functions similar to the above embodiment is describedhereinafter. First, a setting program that sets information to adelivery device 12 is described. FIG. 13A is a diagram illustrating anexample of a computer configured to execute a setting program.

As illustrated in FIG. 13A, a computer 300 has a processor 310, anauxiliary storage unit 320, and a main storage unit 340. These units 300to 340 are connected by way of a bus 400. The processor 310 is, forexample, an electronic circuit such as a CPU or an integrated circuitsuch as an ASIC. The auxiliary storage unit 320 is, for example, asemiconductor memory capable of rewriting data, such as a flash memory,or a storage device such as an SSD, HHD, or the like. The main storageunit 340 is a semiconductor memory capable of rewriting data, such as aRAM, a flash memory, or the like.

In the auxiliary storage unit 320 is stored a setting program 320A thatfulfills functions similar to the reception unit 30, the coupling unit31, the decryption unit 32, the acceptance unit 33, the encryption unit34, and the transmission unit 35 as described above. In addition, thesetting program 320A may be separated appropriately.

The auxiliary storage unit 320 stores various types of information. Forexample, the auxiliary storage unit 320 stores an OS or various types ofdata used in various processes.

Then, the processor 310 reads and executes the setting program 320A fromthe auxiliary storage unit 320 to the main storage unit 340, therebyperforming similar operations to each processing unit of the embodiment.More specifically, the setting program 320A performs similar operationsto the reception unit 30, the coupling unit 31, the decryption unit 32,the acceptance unit 33, the encryption unit 34, and the transmissionunit 35.

Note that the above-mentioned setting program 320A is not desirable tobe stored in the auxiliary storage unit 320 from the beginning.

Delivery Program

A delivery program to set information is described hereinafter. FIG. 13Bis a diagram illustrating one example of a computer that executes thedelivery program. Note that identical symbols are assigned to partsidentical to FIG. 13A and a description is omitted.

As illustrated in FIG. 13B, in the auxiliary storage unit 320 is storeda delivery program 320B that fulfills similar functions to the receptionunit 60, the division unit 61, and the delivery unit 62 described above.Note that the delivery program 320B may be separated appropriately.

In addition, the auxiliary storage unit 320 stores various types ofinformation. For example, the auxiliary storage unit 320 stores an OS orvarious types of data used in various processes.

Then, the processor 310 reads and executes the delivery program 320Bfrom the auxiliary storage unit 320, thereby performing similarfunctions to various processing units of the embodiment. Morespecifically, the delivery program 320B performs similar operations asthe reception unit 60, the division unit 61, and the delivery unit 62.

Note that the above-mentioned delivery program 320B is not typicallydesirable to be stored in the auxiliary storage unit 320 from thebeginning.

Decoding Program

A decoding program to set information is described hereinafter. FIG. 13Cis a diagram illustrating an example of a computer configured to executean decoding program. Note that identical symbols are assigned to partsidentical to FIG. 13A and a description is omitted.

As illustrated in FIG. 13C, in the auxiliary storage unit 320 is storeda decoding program 320C that fulfills similar functions to the receptionunit 80, the coupling unit 81, the decryption unit 82, the estimationunit 83, and the delivery information processing unit 84 describedabove. Note that the decoding program 320C may be separatedappropriately.

In addition, the auxiliary storage unit 320 stores various types ofinformation. For example, the auxiliary storage unit 320 stores an OS orvarious types of data used in various processes.

Then, the processor 310 reads and executes the decoding program 320Cfrom the auxiliary storage unit 320 to the main storage unit 340,thereby performing similar operations to each processing unit of theembodiment. More specifically, the decoding program 320C performssimilar operations to the reception unit 80, the coupling unit 81, thedecryption unit 82, the estimation unit 83, and the delivery informationprocessing unit 84.

Note that the above-mentioned decoding program 320C is not desirable tobe stored in the auxiliary storage unit 320 from the beginning, either.

In addition, for the setting program 320A, the delivery program 320B,and the decoding program 320C, the program may be stored in a “portablephysical medium” that may be read by the computer 300, such as a CD-ROM,a DVD disk, an magneto-optic disk, an IC card. Then, the computer 300may read from these and execute the program.

Furthermore, the program may be stored in “other computer (or server)”connected to the computer 300 by way of a public circuit, Internet, aLAN, a WAN or the like. Then, the computer 300 may read from these andexecute the program.

All examples and conditional language recited herein are intended forpedagogical purposes to aid the reader in understanding the inventionand the concepts contributed by the inventor to furthering the art, andare to be construed as being without limitation to such specificallyrecited examples and conditions, nor does the organization of suchexamples in the specification relate to a showing of the superiority andinferiority of the invention. Although the embodiments of the presentinvention have been described in detail, it should be understood thatthe various changes, substitutions, and alterations could be made heretowithout departing from the spirit and scope of the invention.

What is claimed is:
 1. A delivery system comprising: a first terminaldevice; and a delivery device, wherein the delivery device includes afirst memory; and a first processor coupled to the first memory, thefirst processor being configured to: set a sequence number; dividedelivery information by delivery size to generate a plurality of piecesof divided data and set a number of divisions of the dividedinformation; and generate a packet including the divided data, thesequence number, and the number of divisions and transmit the packet tothe first terminal device, and the first terminal device includes asecond memory; and a second processor coupled to the second memory, thesecond processor being configured to: receive the packet; store, in thesecond memory, the data of the packet together with an identifieridentifying the delivery device and the sequence number included in thepacket; judge, for each identifier, whether packets of sequence numberscorresponding to the number of divisions are all received; when all thepackets are received, couple the divided data of the packets in an orderof the sequence numbers; decrypt the coupled data; judge whether a codeincluded in the decrypted data matches a code to be processed; in a casein which the code included in the decrypted data matches the code to beprocessed, estimate a distance from signal intensity when a packet forwhich the code matches is received; judge whether the estimated distancemeets a predetermined condition; and in a case in which the estimateddistance meets the predetermined condition, divide the decrypted dataaccording to a profile of the delivery information to perform apredetermined processing.
 2. The delivery system according to claim 1,further comprising a second terminal device, wherein the second terminaldevice includes a third memory; and a third processor coupled to thethird memory, the third processor being configured to: accept deliveryinformation to be delivered by the delivery device; and transmit thedelivery information to the delivery device, the first processor isconfigured to: receive the transmitted delivery information; store thereceived delivery information; and divide the stored deliveryinformation by the delivery size.
 3. The delivery system according toclaim 2, wherein the third processor is configured to: acquire theidentifier identifying the delivery device; and use the acquiredidentifier to encrypt the delivery information to be transmitted, thedelivery unit of the delivery device transmits the pieces of dividedinformation including the identifier identifying the delivery device,the first terminal device includes: a separation unit configured toseparate the identifier identifying the delivery device from theinformation received by the reception unit; and a decryption unitconfigured to use the separated identifier to decrypt the deliveryinformation generated by the coupling unit.
 4. The delivery systemaccording to claim 3, wherein the third processor is configured toconvert the delivery information to information with size equal to anintegral multiple of the delivery size.
 5. The delivery system accordingto claim 2, wherein the third processor is configured to: accept settingof a target range based on a distance from the delivery device; and addrange information indicating the target range to the deliveryinformation and transmit the resultant delivery information, and thesecond processor is configured to: perform processing using the deliveryinformation when the estimated distance is in the target range indicatedby the range information added to the coupled delivery information. 6.The delivery system according to claim 5, wherein the third processor isconfigured to: accept input of signal intensity at a predetermineddistance from the delivery device, add a threshold indicating the signalintensity to the delivery information and transmit the resultantdelivery information, and use the threshold added to the coupleddelivery information to estimate the distance from the signal intensityof the pieces of divided information.
 7. The delivery system accordingto claim 2, wherein the third processor is configured to: accept inputof any one of a plurality of types of delivery information, and addprofile information indicating the type of the delivery information tothe delivery information and transmit the resultant deliveryinformation.
 8. A delivery method by a first terminal device and adelivery device, the method comprising: setting, by the delivery device,a sequence number; dividing, by the delivery device, deliveryinformation by delivery size to generate a plurality of pieces ofdivided data and setting a number of divisions of the dividedinformation; generating, by the delivery device, a packet including thedivided data, the sequence number, and the number of divisions andtransmitting the packet to the first terminal device; receiving, by thefirst terminal device, the packet; storing, by the first terminaldevice, the data of the packet together with an identifier identifyingthe delivery device and the sequence number included in the packet;judging, by the first terminal device, for each identifier, whetherpackets of sequence numbers corresponding to the number of divisions areall received; when all the packets are received, coupling, by the firstterminal device, the divided data of the packets in an order of thesequence numbers; decrypting, by the first terminal device, the coupleddata; judging, by the first terminal device, whether a code included inthe decrypted data matches a code to be processed; in a case in whichthe code included in the decrypted data matches the code to beprocessed, estimating, by the first terminal device, a distance fromsignal intensity when a packet for which the code matches is received;judging, by the first terminal device, whether the estimated distancemeets a predetermined condition; and in a case in which the estimateddistance meets the predetermined condition, dividing, by the firstterminal device, the decrypted data according to a profile of thedelivery information to perform a predetermined processing.
 9. Thedelivery method according to claim 8, by the first terminal device, asecond terminal device, and the delivery device, the method comprisingcausing the second terminal device to accept input related to thedelivery information to be delivered by the delivery device, andtransmit the delivery information to the delivery device; and causingthe delivery device to receive the transmitted delivery information,store the received delivery information, and divide the stored deliveryinformation by the delivery size to generate the plurality of pieces ofdivided information.
 10. A non-transitory computer-readable storagemedium that stores a delivery program causing a computer to performprocesses to: set a sequence number, divide delivery information bydelivery size to generate a plurality of pieces of divided data and seta number of divisions of the divided information, generate a packetincluding the divided data, the sequence number, and the number ofdivisions and transmit the packet to a terminal device, cause theterminal device to receive the packet, cause the terminal device tostore the data of the packet together with an identifier identifying thedelivery device and the sequence number included in the packet cause theterminal device to judge, for each identifier, whether packets ofsequence numbers corresponding to the number of divisions are allreceived, when all the packets are received, cause the terminal deviceto couple the divided data of the packets in an order of the sequencenumbers, cause the terminal device to decrypt the coupled data, causethe terminal device to judge whether a code included in the decrypteddata matches a code to be processed, in a case in which the codeincluded in the decrypted data matches the code to be processed, causethe terminal device to estimate a distance from signal intensity when apacket for which the code matches is received, cause the terminal deviceto judge whether the estimated distance meets a predetermined condition,and in a case in which the estimated distance meets the predeterminedcondition, cause the terminal device to divide the decrypted dataaccording to a profile of the delivery information to perform apredetermined processing.